#ifndef CUSH_ALLOC_H
#define CUSH_ALLOC_H
#include "cush_types.h"

/**
 *
 * Function declarations
 *
 */

void cush_dp_init(cush_dbuff_t* dp, cush_t type);
void cush_dp_init(cush_dbuff_t* dp, cush_t type, size_t n_devs);

void cush_unif_size_dist(cush_dbuff_t* dbuff, size_t host_size);

void cush_alloc(cush_dbuff_t* dbuff);

void cush_dbuff_create(cush_dbuff_t* dbuff, cush_t type, size_t n_devs, size_t host_buff_size, cush_dist_t dist, int* dev_ids);

#endif

/* vim: set sw=4 sts=4 et foldmethod=syntax syntax=c : */
